.product{
    width: 1200px;
    height: 815px;
    margin: 0 auto;
}
/*当前位置--------------------------------------------*/
/*link----------------------------------------------*/
.product>div:nth-child(2){
    width: 1100px;
    height: 100px;
    margin-left: 20px;

}
.product>div:nth-child(2) div{
    width: 100px;
    height: 40px;
    margin-top: 30px;
    float: left;
    text-align: center;
    line-height: 40px;
    color: white;
    cursor: pointer;
    font-weight: bold;
    background-color: black;
}
.product>div:nth-child(2)>div:hover{
     background-color: #0accce;
}
/*图片部分---------------------------------------------*/
.product>div:nth-child(3){
    width: 1200px;
    height: 600px;

}
.productAll{
    margin-top: 4px;
    margin-right: 5px;
    width: 292px;
    height: 270px;
    float: left;
    border: 1px solid silver;
}
.productAll:hover{
    border: 1px solid black;
    cursor: pointer;
}
/*图上部分*/
.productAll>div:nth-child(1){
    width: 230px;
    height: 180px;
    margin: 10px auto 0 auto;
}
.productAll>div:nth-child(2){
    width: 292px;
    height: 20px;
    font-size: 12px;
    text-align: center;
}
/*图中*/
.productAll>div:nth-child(3){
    width: 230px;
    height: 20px;
    font-size: 12px;
    margin: 0 auto ;
    color: #0accce;
    text-align: center;
}
.productAll>div:nth-child(3):hover{
    color: cornflowerblue;
}
/*图下*/
.productAll>div:nth-child(4){
    width: 230px;
    height: 36px;
    font-size: 13px;
    margin: 0 auto ;
    color: darkgray;
    text-align: left;
    /*多行溢出  点点点*/
    overflow : hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
/*分页条--------------------------------------------------------*/
.product>div:nth-child(4){
    width: 1200px;
    height: 100px;
    display: flex;
    justify-content: center;
}
.product>div:nth-child(4)>div{
     width: 250px;
     height: 60px;
     margin: 10px auto;
    display: flex;
    cursor: pointer;
    justify-content: space-between;

}
/*左点击*//*右边点击*/
.product>div:nth-child(4)>div>div:nth-child(1),.product>div:nth-child(4)>div>div:nth-child(3){
    width: 30px;
    height: 30px;
    margin: 0 auto;
    line-height: 30px;
    text-align: center;
    cursor: pointer;
    border: 1px solid black;
}
.product>div:nth-child(4)>div>div:nth-child(1):hover,.product>div:nth-child(4)>div>div:nth-child(3):hover{
    background-color: black;
    color: white;
}
/*中间页码*/
.product>div:nth-child(4)>div>div:nth-child(2){
    width: 170px;
    height: 30px;
    margin: 0 auto;
    overflow: hidden;
    white-space: nowrap;
    display: flex;
    justify-content: center;
}
.product>div:nth-child(4)>div>div:nth-child(2)>div{
    width: 30px;
    height: 28px;
    margin-left: 2px;
    line-height: 28px;
    text-align: center;
    float: left;
    border: 1px solid black;
}
.product>div:nth-child(4)>div>div:nth-child(2)>div:hover{
    background-color: black;
    color: white;
}
/*商品的详细 信息 ，=============================*/
.productMain{
    width: 1200px;
    height: 700px;
}

/*上半部分*/
.productMain>div:nth-child(1){
    height: 250px;
}
.productImg{
    margin-left: 100px;
    height: 240px;
    float: left;
}
.productName{
    margin-left: 30px;
    width: 815px;
    float: left;
}
.productName>div:nth-child(1){
    font-size: 20px;
    height: 30px;
    border-bottom: 2px dotted black;
    font-weight: bold;
}
.productName>div:nth-child(2){
    color: #cccccc;
    margin-top: 10px;
    font-size: 15px;
    height: 30px;
    text-decoration:line-through;
}
.productName>div:nth-child(3)>span{
    color:red;
    font-size: 26px;
    height: 30px;
}
/*中间的 银色背景部分*/
.productMain>div:nth-child(2){
    width: 1198px;
    height: 60px;
    line-height: 60px;
    background-color: rgb(245,245,245);
    border: 1px solid silver;
}
/*详细信息*/
.productMain>div:nth-child(3)>div{
    color: rgb(102,102,102);
    margin-top: 10px;
    height: 50px;
}